rename local variable in modal