fixed type_traits issue