support find by item type, change API
removed vim tmp file