fixed some socket problems