fixed psi-new-caps patch