bugfix redirect user