Fix a bug about generic instance creation
0.1.4