fix sessions