fixed ambiguous redirect