more SD card fixes