Fixed small referer bug