fixing session data