add some hooks in order to avoid merging accumulators