add bar nearby list function and fix bar list bug