correction in the Pnoise library