locking fix