make line buffer 1024 bytes