remove warning from List that unknown generic type