STILL trying to get inventory to stop crashing