fix usage firstnbuffer