fixed duplicate upload with onchange event