fixed the upload bugs and upload style
fixed upload bugs