try fix logic error on session highlighting