refine the macro, use int as version type. 2.0.8