modify session parser