undeclared var fix
Merge branch 'upstream'
build