BUG:fix a bug of file upload