Fix 'max_buffer is not defined' error
Merge pull request #11 from tamarazuk/master

Fix 'max_buffer is not defined' error