fixes for relate search