fix exportName option
Merge pull request #9 from aristov/master

exportName option doesn't work