fix for generics are not supported in -source 1.3