animation bug fixen