fix restart/reload case