mark selection cleanup