Fixed problem with unexpected newlines.