fixed bug -  incorrect jump