rename a variable with the true type