revert to work state