check parent has title before displaying it