fix referer = null