correct buf from Arnaud