adding hack for session error