notify delegate about animations
Fix a warning