fixed dfa match