Work on SD card error handling