fixed PathSearch