each domain should be a string instead of object