try to work around Perl 5.10 bug