append some api callback function