fixes to exports