fixed error in native app