Fixed bug in translation