repair SM.Core project