[fix]fix hits feature
Merge pull request #20 from lbj96347/master

[fix]fix bugs and add auto hits feature