fixed phonegap support problem