fixes regular expression issue