provenenance cleanup, compatible with expt14