fixed error with already inventorized hosts