make the parsing less sensitive to buffer lengths
0.1.2