fix restart task