script capacitor_adaptivity fix