fix the groups search