VersionFix2

This is to fix the Session Lost error which happened in last comit.