Fix the scm connection