fixed bug, added exports back