adding missing lock