fix some issures related yap inverse search