fixes for animation