Refine sd driver