fix key word search bug