Fixed a api group show hide bug