check_parameter_G: fix pontential increment of end().