remove unused directories