updating the handling of page titles