fix bug - export the API !