retrying the amd wrapper