bug in exportResults, fixes #66