fix handling of newline in config