Remove warning in animation