update to fix changed behavior in session module