fixed the helper function
Merge branch 'master' of https://github.com/lentisas/gwts