fixing cordova problem