Remove double setting of version