simplify error handling
ignore line ending