improve reporting of pid problems