copy parameters to deal with retries