fix undeclared var, #27