add locking where it exists
1 file changed