fix #1643
debug for animations
fix #1639