properly set version