fixed issue with rtti on generic lists and maps