tree structure fix for popovers and pbc list