added patch from ticket https://rt.cpan.org/Ticket/Display.html?id=66495