removed some unused temp vars in translation