Remove useless directories