fixed missing host info in some cases