fix weed type_traits