attempt to resolve the var before rebinding it. give a nice error
message when the var is unbound