Fixing session variable