fix bugs in search group