similar redirect exception handling