fix schema: some fields are optional