check for host names when assigning to groups