Removed unnecessary extra lock