small fix psi-new-history patch