buf error