fix error in config resulting in invalid redirects