fix some require paths for search