Fixed a bug in translation