rename local variable in generated body method