fixed cordova issues