fix re parser.
rm debug