fixing weird animation bug