Inventory kinda works, fix firefox