add some MT locks