VST2 Category is always Others

When setting up the plugType as Synth or FX, il works well in VST3 (displayed on the correct section on Cubase and in the Plugin Manager Window)
But in vst2, it’s always displayed as Instrument (I’m using the vst2wrapper.cpp)
Do I do something wrong ?

did you try to set a breakpoint in
VstPlugCategory Vst2Wrapper::getPlugCategory () ?
or
AudioEffect* Vst2Wrapper::create (
… wrapper->setSubCategories (classInfo2.subCategories);…

check if subCategories is correctly set…