fix byte-aligned format issue