fixed labels issue

fixed issue with labels when including labels addon before header or
search addon.