Fixed a typo bug of exported function