Moved the key reference in inventory