Minor fix for sd_ mode