fixed translation bugs