fixed jump check code