fix for bug 87801 on CPAN