[SD] add repair function .
Merge branch 'local'