Fixed bug with `exportName` option

Resolved #7