fix redirect detection in getAutosummary