ignore trailing newline while decoding
Merge