fix find bug warnings