[PD] Strange bug in my patch