fixed issue with pivot orientation