Fix call to session