copy param dict so we still have all values when we retry