Inventory widget is not working correctly, it is counting up instead of down