remove `redirect` from constructor