fixed the regex nodes