fix locks: special lock for insert. really lock everything during remove