revert to working state