fixed some bugs in coordinate searcher