fixes socket undefined in match service