bugfix retry redirect