fix bugs
1. remove the best order, cuz we won't use it now.
2. move the count_minimum_peak to the right place