rm unneeded lock