Fix bug with tmp sessions path