minor fixes

undeclared var and missions