fix bug
fix wip bug, add exported flag