index phonegap error fix

hopefully.