fixed error in relative logic - next is axis