check for missing host and return nothing