fixed roation bug