remove obsolete flows