caught panic in histogram if requested key is set to nil