Fix bug, and add function to bind group2.