added section on redirect edgecase when displaying errors