Change error detection for version to after other parameters