bug fixed upload file