Fixing createHost