fixed socket lock type, #3