fix onchange