fix undeclared hash-ref $alg_to_class