fix following the Perl6 spec