Revert "bug fixed for genericType"

This reverts commit da315e2d2518d123f813cadf58df8c79a8b62df9.