cordova index fix