fixed inventory function to actually display item name