to add more check input valid data in iocapctrl.cpp