agg redirection fix