make globals work. fix bug: missing zero termination in data element list declarations