fix referers things