bug fixed and tableview formatted in inventory