save less variables

fix bug on group