simplify getHostEntity