fix bug with translation