fix scm connection