3.0 beforeredirect