Debug message was printed even when not in the good condition