bug fix: testing buffer full