fix add titles to pages