make the changeline parsing more robust