fix buffer consuming