Fix error hindering 'reduce' command