Fix type as value_type