fix bug referer