Fixed onchange event parameters bug