fix upload issue.