fixed show hosts bug.