making sure referer is sent EVERYWHERE