fixed rotation change issue