[PD] find last error