fixed no result of regex found bug