tcrules 777 fix