I already explained that when we form “passato prossimo” with the auxiliary verb “avere” the past participle never agrees with the subject pronouns (io, tu, lui, lei, noi, voi, loro). However, if we use a direct pronoun to replace a noun, we must agree the past participle with the pronoun.