fix session filter