secret keys fix