fixed an incorrect merge to nativeApp.cpp