fix ajax searching spec