remove spaces in config file