fixed for make sd image.