fix Type.getInstanceFields and Type.getClassFields