Fixed up buffer problem but uncertain why buffers are different lengths