Allegri: 'Milan could've done better'