fix unstack issue in abr_find_group_end()