fix domain declaration