fixed undifined pageviews bug