minor bug in pphw replacement