fixed enum value highlight bug