fix a pth