fix  upload auth issue