add global redirect