bugfix redirect url