maybe fixed redirect problem