[PD] saving state of a patch