Fix socket