fixing url issues with config file