fixed search bug and saved item bugs