heatmap: narrows down exception type