some fixes to project_search