fix animations and some physics