fix incorrect rotation value