fixes to sd mode