add change event
fixed bug