update logging tags to correctly reference current function
fix layering of indices inside stats datastructure