Fix some bugs with loot distro