bugfix mod for rotation