Fixed typo in socket var