Fix socket naming problem and typo