uncaught tcp err fix