addressed a bug for translation