fix mistype in socket events