Fix search bug and editor-config error