fixes bug related to title tag on pages