bug fix

bug fix of #2952
It affects only RooFit macros released together with module