save scope and error in raw_info