fix translation errors in code