[fixed] error on window when compiling.. Undefined  'app' variable.