fix error on session start