fixed regular expression error