trim out a few newlines