CORE: corrected implementation of RECAST_LOOT