fix crash on english locale (fix #13)