surpress debug messages if used as module