rotation bug solved