fix the broken scm block