fix input change event bug