Fix loading key being defined multiple times