fix depth-n-mask to show enum elements properly