fix InIoArray function of select