fixing default buffer size