file uploader bug fix