minor changes

fixed redirect issues.