fix dispatch bug in func f_INVOKE_%d_%s(fn P, %s) P