fixed an error in TCP SERVER