minor bugfixes to logging data structure