fix domain configuration