buffer bugfix, some web addition