removing obsolute Dirs