cleaning up duplicate dirs