fixed npe
scm config