Fix $pageTitle var condition