replace deprecated getDocHeaderTitle