fixed redirects.
fixed formating