Fix SessionHelper missing end