fix upload for file handle only on old browser