fix upload path bug