Fixed newline errors in debug output