bug fix to buffer auth