rotation bug fixed