fix mini-buffer size