bug fix
getting domain from conf files