improved enumclass detection