Removed scratch
Removed bufclose for kwbdi