fix search&replace fail