bug fixed for SAE security error