Fix newline ignore

Also fixed typo, removed whitespace, added a comment and refactored to use no strings directly in the dummy field fix