fixed errors in translateAndCall