now works as expected and won't break the phonegap build