added a err msg for using a wrong version.

[fixed #34]