fix upload path, use relative path