improve error displaying as yesterday;
fix bug of input port value range