tokenstream_contract_violoation_bug_fix