corrections for phonegap