correct the error of select multiplex I/O