bugfix redirect