Fixed Inventory Loading

* Fixed some exceptions while scanning