fixing domain issue