fix bug domain to config file