fixed page-class var & now using doc title