Fix pb and session