Fixing newlines when debug not enabled