removing unneeded local lock