eliminate strict warnings when Session not defined