change debug level, move messages to error level