Fixed empty host list error