modif struct cordova