fixed null session_ids