remove unneeded lock