Repaired function JMP