add for ledsettings and fix sdcard bug