fix export and session timeout