fixes JR's rotation problem