Fixed host type checking