fix pageTitle for longer titles