removed cordova ref