crude fix for session issue