adds missing source_id field.