fixed search bar bug and id bugs