restart agent resource fixed