Fixed session warning.