fix cpan-api/issue #347