found fix for cordova