repair broken old xg search functions