fix reduce for glom version