Fix Element directory in sessions