fix regexes