unlock crash fix: wrong variable name pasted

i really shouldn't use oddly unique variable names in some functions for
no good reason