avoid to write debug msg to stdout