Fix loading external keys