fix find buf