Fixed session start bug