removed tons of messages when debug mode is disabled