fixed the parameters to the animations