Fixing SCM metadata