                         current.children().css 'display', 'inline-block'
 
                         # query again the dom and store it again in a variable
-                        hiddenItems = holder.find 'ul > li'
+                        hiddenItems = dropdownList.find 'li'
 
                         # remove the remaining hidden item if the parent width and greater than or equal to the unwrap width
                         holder.after hiddenItems.detach() if hiddenItems.length is 1 and o.el.width() >= o.unwrapWidth

            # add the wrapper class to the element
            o.el.addClass o.opts.wrapperClass

            # create and append the dropdown wrapper to the body tag
            o.dropDownWrapper = ($ "<div id=\"#{ o.pluginKey }\" class=\"#{ pluginName.toLowerCase() }-dropdown-wrapper\"></div>").appendTo document.body

            o.resize = _.debounce(o.resize, o.opts.debounceTime) if o.opts.fixIEResize


                holder  = items.filter ".#{ o.opts.holder.class }"

                if holder.length is 0
                    holder = ($ "<li class=\"#{ o.opts.holder.class }\"><a href=\"#\">#{ o.opts.holder.text }</a></li>").insertAfter items.first()

                    # set the holder's css to float left and display inline-block
                    holder.css
