redundant locks removed