avoid a crash that happened once due to an unmeet regex;