Fixing obj/inventory issues.