Session error fixed