Allegri: 'Juventus were hasty'