change dependency from globalredirect to redirect