             let delay = UInt32(recordBufferDuration * 1_000_000)
             usleep(delay)
         }
-        node?.avAudioUnitOrNode.removeTap(onBus: bus)
+        node.avAudioUnitOrNode.removeTap(onBus: bus)
     }
 
     /// Reset the AVAudioFile to clear previous recordings

    public init(node: AKNode,
                file: AVAudioFile? = AKNodeRecorder.createTempFile(),
                bus: Int = 0) throws {
        super.init()

        guard let file = file else {

        }

        self.bus = bus
    }

    // MARK: - Methods
