improve error catching in buffer
update CHANGELOG