fix on the sd initialization