[PD] strange behaviour with dynamic patching and folder declaration