moved the session to component and removed afterfilter