fix undeclared vars
0.0.8