Correct version attribute and validation