fix sessions storage