fix maxHits vs. total results