fix to get.traits.data