added function stripReferer to HitRepository