fix cap restart