fixed error with unreconized key in session