reverted to original locking after an incomplete patch