Simpler method to ensure buffer gets cleared