fix a bug that prevented the tool from working as expected when the user language is not english