fix segfault
Merge pull request #31 from cpgf/hotfix/fix-segfault-when-using-user-converter

fix segfault when using user converter