modified jump event check logic