Fix typo
Add locking