fix undeclared value