Fix problems with low level buffer
Merge pull request #2 from shashankkrjain/master

Fix problems with low level buffer