refactor upload
remove useless header