clear server errors on revert