Fixes titles for pages