fix print method in inventory