removing ==1 from trait checks