clean up. Return code to old state.