fix loading rotation setting