solved session warning