fix for sdiifstore/sinterstore/sunionstore