Fix buffer status error