Stefano Pioli has his work cut out for him at struggling AC Milan.

One match into his new job as coach and he knows things need to improve.

The Rossoneri twice allowed promoted Lecce to equalize in a 2-2 draw at home on Sunday in Pioli's debut after taking over for the fired Marco Giampaolo.

AC Milan's Hakan Calhanoglu kicks the ball during a Serie A soccer match between AC Milan and Lecce, at the San Siro stadium in Milan, Italy, Sunday, Oct.20, 2019. (AP PhotoLuca Bruno)

AC Milan's Hakan Calhanoglu kicks the ball during a Serie A soccer match between AC Milan and Lecce, at the San Siro stadium in Milan, Italy, Sunday, Oct.20, 2019. (AP PhotoLuca Bruno)

"I saw a lot of positive things: our spirit, generosity and skill levels were good but then there were some things I didn't like. We made mistakes in the two areas which didn't allow us to close the game out and not concede goals," Pioli said. "It's time to stop talking about a 'young Milan' or 'old Milan.' We're Milan and we've got to wear this shirt with honor and pride."

Hakan Calhanoglu had put Milan ahead early on before Khouma Babacar equalized with a penalty after the break. Calhanoglu also set up a goal for Krzysztof Piatek, who broke out of a scoring slump. Marco Calderoni scored the final goal for Lecce in stoppage time.

"We should have closed the match earlier," Pioli said. "We deserved to win but we didn't get the three points due to our own faults. We weren't attentive on their second goal."

AC Milan's manager Stefano Pioli shouts directions to his players during a Serie A soccer match between AC Milan and Lecce, at the San Siro stadium in Milan, Italy, Sunday, Oct.20, 2019. (AP PhotoLuca Bruno)

AC Milan's manager Stefano Pioli shouts directions to his players during a Serie A soccer match between AC Milan and Lecce, at the San Siro stadium in Milan, Italy, Sunday, Oct.20, 2019. (AP PhotoLuca Bruno)

The draw, coming on Pioli's 54th birthday, left Milan in 12th place.

JUVE'S SLIM MARGINS

Serie A leader Juventus also needs to be more clinical.

The eight-time defending champion required a spectacular save from Gianluigi Buffon to preserve a 2-1 win over Bologna on Saturday — marking the sixth time this season that Juventus has won by a one-goal margin.

AC Milan's Krzysztof Piatek, left, celebrates his goal with teammates during a Serie A soccer match between AC Milan and Lecce, at the San Siro stadium in Milan, Italy, Sunday, Oct.20, 2019. (AP PhotoLuca Bruno)

AC Milan's Krzysztof Piatek, left, celebrates his goal with teammates during a Serie A soccer match between AC Milan and Lecce, at the San Siro stadium in Milan, Italy, Sunday, Oct.20, 2019. (AP PhotoLuca Bruno)

"We still need to improve," said left back Alex Sandro, who helped set up the opening goal by Cristiano Ronaldo. "We need to close out matches sooner. That's what we're still lacking."

More AP soccer: https://apnews.com/Soccer and https://twitter.com/AP_Sports

Andrew Dampf on Twitter: www.twitter.com/AndrewDampf