fix rotation and position.y values