fix group bug