remove obsolete paths