bug fixes, newline method