distribute and destory api install in xweb finished