bug fix in set group pagination