Fix the key files