bugfix: incorrect buffer size config