- fix for empty buffers
- getting a single line should not return a list
remove unneccessary check