Avoiding unknown message when run with --debug