Remove extra new lines from the config