fix for loot not spawning