fixing pbc item add in tree footer