fix some rotation stuff