fixed bug in translator module