fixed socket lookup error