Host management 3b

I fixed the run-time error pointed out in #760.