removed a wrong method from Buffer