Fixes newline bug

Fixes #5 newline bug.