fix bug for api   show/hide