fixed type inheritance problem in collection utils