fixed bug for translation