improve on change function
fix change event issue