trigger change event after the check of the input