remove obsolete resources