correct findxerces script