Handle page titles correctly