Fixed session data compatibility issue