refine version number