fix showing  error of upload