Fixed locking.