Sd card fixes