Fix arguments to a redirect call