remove obsolete dependencies