Make sure the host value is of the correct type in open