fix for raw_result added in scan_search