fix search cancel