removed extra lock