fix rotation setting