remove obsolete references