fixed missing redirects bug