Use correct $doctitle variable.