remove duplicate stting of spec.version