better query

don't use dynamic finder because of bad performance
Merge pull request #5 from delba/master

a better query