fix search cannot cancel