fixed error on force_match_end