Creating attributes in DCA caused fatal error (#1166)