old buffer calculations
typo fix
hotfix