fix isssue in session