redirected links using ref