a small fix to pcomp derivs