Fix sdcard stuff