fix xform.version field length, rollback on form publish exception