fix secure problem