removed an useless buffer