fix change orientation