fix phonegap