omit '\n' from buffer