corrected a bug in the rules for jumping