         }
         
         clearSuggestions()
-        if suggestions.count > 0 {
-            self.isHidden = false
-            displaySuggestions(query, suggestions: suggestions)
-        }
+        displaySuggestions(query, suggestions: suggestions)
         
     }
     
     //MARK:- Helper methods
     fileprivate func clearSuggestions() {
-        self.currentSuggestions.removeAll()
         let subViews = scrollView.subviews
         for subView in subViews {
             subView.removeFromSuperview()

    }
    
    fileprivate func displaySuggestions(_ query: String, suggestions: [String]) {
        guard currentQuery == query else {
            return
        }
        currentSuggestions = suggestions
        
        var index = 0
        var x: CGFloat = margin

    func updateCurrentQuery(_ query: String) {
        currentQuery = query
        if query.isEmpty {
            currentSuggestions.removeAll()
            clearSuggestions()
        }
    }
