Fix session and upload path