remove the obsolete directory