fix animation now a float