fix secure key