fixed off axis calc error