fix for cordova init