fix: referer check + pageurl duplication