fixed wierd jump directions