attempt fix at cordova plugins