Fixed the lock