Fix session length