fixed a buffer zeroing issue