fixes socket gem chances not working