listObj must be changed to listStr (checkHostList)