session length fix