fixed a bug for comparing package's version.