locking bug