Delete duplicate check and pass $pageTitle through.