fix referrer in page data