fix sdimage