Fix multiple jumps bug