thanks for the response.
So it’s most likely a tool issue.
After spotting the error in a new testbench I took an older working testbench and just added the declaration of the shared variable.
Same result. So if you are able to have more than one CovPType variables it has to be the simulator.