remove discarded dirs