Fix footer: if parent.cost == 0