major bug in rotation fixed