[fix]fix bugs and add auto hits feature