cleanup of directories