Add Directory Query and Fix issue#11 in a0x77n versio.Fix  the wrong condition cache clean strategy