removed extra copy from translated to tmp