fix type

see https://rt.cpan.org/Public/Bug/Display.html?id=91063 and sorry for the noise
changelog
Merge branch 'pr/6'

Fixes #6