Fixes Cordova latest issue