clearState()