Fixed web, modified host id function