external sdcard bug located and fixed