orientation calculation axis fix