patch to use pfnopileup
do it not wrong