solved the coalescing but result in garbled bytes