Actually fix error in key loading