suptypes were not compared. collections with value null lead to exception.