support redirect options