refactor for google_translate_api v0.3