Eliminate two dirty flags.