ignore directory on searching