fix referer redirects
Merge remote-tracking branch 'origin/master'