fix rotation isues