Fixed Loot Code