defined dependency to inventoryappbase correctly