Bugfix: invalid lock variable name