avoid pat file