potential fix for session issues.