tweaks, and removed gethostdelegate