remove extra slash in config.