cleanup of dir structure