avoid trait_mod:<is> hack