buf fixed for conversion update