fixing variables and translations