fix bug with empty lines at end (where last char is a \n)
0.2.2
fix example
0.2.3