fixing pbc item add in tree footer

Fixing pbc item add in tree footer