                 self.pinResetCodeButton.hidden = false
                 self.codeInputView?.userInteractionEnabled = false
                 #if DEBUG
-                    self.displayAlertMessage("", alertDescription: NSLocalizedString("smsvalidation.user.pincodeattempted5times", comment: ""))
+                    self.displayAlertMessage("", alertDescription: serverMessage)
                 #endif
                 APIServiceManager.sharedInstance.pinResetClear({ (success, pincode, message, servercode) in
                     if success {

                } else {
                    //pin reset verify code is wrong
                    dispatch_async(dispatch_get_main_queue()) {
                        self.checkCodeMessageShowAlert(code, codeInputView: codeInputView)
                        codeInputView.clear()

                    }

                        codeInputView.clear()

                    } else {
                        self.checkCodeMessageShowAlert(message, serverMessageCode: serverCode, codeInputView: codeInputView)
                        codeInputView.clear()
                    }
                }
