Fixed a null excption with form version, need to change this when we implement the yaml