bug fix

Bug fix of #2895 
It affects only RooFit  macros released together with module