         titleLabel.translatesAutoresizingMaskIntoConstraints = false
         topSeparator.translatesAutoresizingMaskIntoConstraints = false
         bottomSeparator.translatesAutoresizingMaskIntoConstraints = false
-        topMiddleSeparator.translatesAutoresizingMaskIntoConstraints = false
-        bottomMiddleSeparator.translatesAutoresizingMaskIntoConstraints = false
         
         //buttons
         containerView.addConstraint(NSLayoutConstraint(item: containerView,

        
        let topSeparator = UIView(frame: CGRect.zero)
        let bottomSeparator = UIView(frame: CGRect.zero)
        let bottomMiddleSeparator = UIView(frame: CGRect.zero)
        let topMiddleSeparator = UIView(frame: CGRect.zero)
        
        topSeparator.backgroundColor = self.grayColor
        bottomSeparator.backgroundColor = self.grayColor
        topMiddleSeparator.backgroundColor = self.grayColor
        bottomMiddleSeparator.backgroundColor = self.grayColor
        
        self.addSubview(containerView)
        containerView.addSubview(pickerView)

        containerView.addSubview(titleLabel)
        containerView.addSubview(topSeparator)
        containerView.addSubview(bottomSeparator)
        
        pickerView.translatesAutoresizingMaskIntoConstraints = false
        doneButton.translatesAutoresizingMaskIntoConstraints = false
