fix for disabled bar after typing something with no results