fix regular expression error