minor edits and fixes, fixed session array