fix for properties in generics