fix source_id range selection