fix: bug for translate