add missing locks