fixed weird photo bug about SD card not inserted