Fix session file