fix change orientation problem
fix change orientation problem