fix restraint-repo