patch for randomvariable check in 7_0_x