Step 2.2

Fixing a bug that makes the inventory not to load properly