having an issue with phonegap hydration