corrects the P/S path