fix DirtyCheckingRecord::MODES
more cleanup