fixing search issues and partner reference edit bugs