cleanup of group variable