fixes socket notification