client side bug fix to reset input element after upload.