added version format verification.