correct simulation and animation