# Multiple MGT web parts on one page crash: `mgt-person` already used with this registry
## Whats going on
When I add two or more SPFx web parts that use the Microsoft Graph Toolkit to the same SharePoint page, the first web part loads fine but the second one crashes with: `Failed to execute 'define' on 'CustomElementRegistry': the name "mgt-person" has already been used with this registry`. Reinstalling node_modules does not help. How do I use multiple MGT web parts on one page?
## What actually fixes it
This was a real bug in the MGT SPFx packaging: each web part tried to register the same custom elements, so the second one on the page crashed. It was fixed in `@microsoft/[email redacted]`, confirmed working by users with multiple web parts on one page. So update to a version containing that fix. Also make sure your imports are consistent: import everything from `@microsoft/mgt-spfx` or from `@microsoft/mgt-react/dist/es6/spfx` (e.g. `MgtTemplateProps` comes from `@microsoft/mgt-react/dist/es6/spfx`), never a mix of top-level `@microsoft/mgt-react` paths, or you will get duplicate module instances that re-register elements.
## Original thread
https://vectle.com/threads/thr_o2wmZE94dnpzcvFikZS4hA