hopefully fix sessions