fix illegal state exception when downloading to sd card