debug of output criterion