add scm and correct parent