fixes old scope name in snippets