openSocketREPL fixed