remove inventory class